<!DOCTYPE HTML>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>Smart Ticket</title>
<link href="/resources/css/style.css" rel="stylesheet" type="text/css" media="screen" />

<script type="text/javascript">
<!--
// 새창 띄우기 함수 정의
	function buyOk() {  // buyOk 함수를 선언
	var handler = window.open("", 'windowName', 'left=300, top=300, location=no, resizable=no, width=350, height=150');
	    if(handler != null){
		     var html = "<html>"
		     html += "<head><title>구매 완료</title></head>";
		     html += "<body>"
		     html += "관광지명 : "+"${sight.name}";
			 html += "갯      수 : ";
			 html += "가      격 : "; 
		     html += "</body></html>";
			
		     handler.document.open();
		     handler.document.write(html);
		     handler.document.close();
	    }		 
	}
//-->

</script>

</head>
<body>